Skip to content

Update docs to use the correct PHP_INI_ENTRY macro #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 19, 2022

Conversation

Girgias
Copy link
Collaborator

@Girgias Girgias commented Aug 12, 2022

The texts talks about using the simplest way to register an INI setting but says that we used PHP_INI_BEGIN() which is always needed as it's to start registering.
The one actually used to register is REGISTER_INI_ENTRIES()

The texts talks about using the simplest way to register an INI setting but says that we used ``PHP_INI_BEGIN()`` which is always needed as it's to start registering.
The one actually used to register is ``REGISTER_INI_ENTRIES()``
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
@Girgias Girgias changed the title Update docs to use the correct REGISTER_INI_ENTRIES macro Update docs to use the correct PHP_INI_ENTRY macro Aug 16, 2022
Copy link
Collaborator

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@nikic nikic merged commit b9d4aeb into phpinternalsbook:master Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants